<!DOCTYPE html>
<head>
      <meta charset="utf-8" />
</head>
<body>
<?php
/*
header('content-type:text/json;charset=utf-8');
$jsonStr = json_encode($jsonArr,JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
echo $jsonStr; */
header('content-type:text/html;charset=utf-8');
$jsonStr = json_encode($jsonArr,JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
echo $jsonStr;
?>
<h2>postdata</h2>
<?php
echo json_encode($postdata);
?>
</body>
</html>